package com.cj.model;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * 
 * @TableName user
 */
@Data
@NoArgsConstructor
public class User implements Serializable {
    /**
     * 
     */
    private Integer id;

    /**
     * 
     */
    private String name;

    /**
     * 
     */
    private Integer money;

    /**
     * 
     */
    private String address;



    public User(Integer id, String name, Integer money) {
        this.id = id;
        this.name = name;
        this.money = money;
    }

    public User(String name, Integer money) {
        this.name = name;
        this.money = money;
    }
}